package com.tourism.home.service;import com.tourism.home.entity.*;import com.tourism.home.dao.ForumDao;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Service;import java.util.List;/** * @author wanglinli * at 18-4-10 下午9:12 * 注释: */@Servicepublic class ForumService {    @Autowired    private ForumDao forumDao;    public List<Forum> getForumInfoList(){return forumDao.getForumInfoList();}    public List<Post> getForumPostList(Integer m,Integer n,Integer id){return forumDao.getPostByMToN(m,n,id);}    public Integer getForumPostNum(Integer id){return forumDao.getForumPostNum(id);}}